package com.moneywelcome.orderassembly.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户持仓表
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserFinancial implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "financial_id")
    private Long financialId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 黄金id
     */
    private Integer goldId;
    /**
     * 黄金名
     */
    private String variety;
    /**
     * 用户持仓份额
     */
    private Double financialShares;

    /**
     * 持有收益
     */
    private Double holdRevenue;

    /**
     * 总收益
     */
    private Double totalRevenue;

    /**
     * 管理费率
     */
    private Double manageRate;
    /**
     * 记录新增时间
     */
    private String rawAddTime;

    /**
     * 更新时间
     */
    private String rawUpdateTime;


}
